#ifndef LISTENER_HH_
# define LISTENER_HH_

# include "client-handler.hh"

class Listener
{
public:
  Listener (ClientHandler* ch);
  ~Listener ();

  // start the server
  void start ();

protected:
  boost::asio::io_service ios_;
  tcp::acceptor acc_;

  ClientHandler* ch_;
};

#endif /// !LISTENER_HH_
